package communication;

//import java.util.prefs.Preferences; - Wrong type of preferences - Ben K.

import server.BuddyList;
import server.Person;
import server.Preferences;

public class BuddyPreferencesRequest extends Request
{
	Person owner;
	BuddyList buddies;
	Preferences preferences;
	
	public BuddyPreferencesRequest(String sender, Person owner, BuddyList buddies, Preferences preferences) 
	{
		super(sender);
		this.owner = owner;
		this.buddies = buddies;
		this.preferences = preferences;
	}
	public BuddyList getBuddyList()
	{
		return buddies;
	}
	public Preferences getPreferences()
	{
		return preferences;
	}
	public Person getOwner(){
		
		return owner;
		
	}
}
